package tech.horgee.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

public enum AbsenceTypeEnum implements IEnum<Integer> {
    A0("调休"),
    A1("年假"),
    A2("事假"),
    A3("病假"),
    A4("婚假"),
    A5("产假"),
    A6("陪产假"),
    A7("哺乳假"),
    A8("丧假"),
    ;
    public final String label;

    AbsenceTypeEnum(String label) {
        this.label = label;
    }

    @Override
    public Integer getValue() {
        return this.ordinal();
    }
}
